package com.shell.arouter.demo.view

import com.durian.base.frame.easyrouter.EasyRouter
import com.shell.arouter.demo.IHomeAction
import com.shell.arouter.extend.PATH_ACTIVITY_COMMON_BIND_FRAGMENT
import com.shell.arouter.extend.PATH_FRAGMENT_VIEW

/**
 * 说明：ActionView
 * <p/>
 * 作者：fanly
 * <p/>
 * 类型：Class
 * <p/>
 * 时间：2019-12-20 11:55
 * <p/>
 * 版本：version 1.0
 */
class ActionView : IHomeAction{
    override fun todo() {
        EasyRouter.buildByFragment(PATH_FRAGMENT_VIEW, PATH_ACTIVITY_COMMON_BIND_FRAGMENT).navigation()
    }

    override fun name(): String {
        return "自定义View"
    }
}